package cn.edu.ctbu.api01.helper;
import cn.edu.ctbu.api01.domain.Student;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;

import java.util.Collections;
import java.util.List;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PageUtils implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long total;
    private List<?> rows;
}